export const API_WATERQUALITY_ADMIN_APPEAL_RECORD_GET = '/waterquality/admin/appeal/record/get'
export const API_WATERQUALITY_ADMIN_APPEAL_RECORD_DELETE = '/waterquality/admin/appeal/record/delete'
export const API_WATERQUALITY_ADMIN_APPEAL_RECORD_CREATE = '/waterquality/admin/appeal/record/create'
export const API_WATERQUALITY_ADMIN_APPEAL_RECORD_UPDATE = '/waterquality/admin/appeal/record/update'
export const API_WATERQUALITY_ADMIN_APPEAL_RECORD_LIST = '/waterquality/admin/appeal/record/list'

import { request } from '@/utils/request';

export function getInfo(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_APPEAL_RECORD_GET,
    data,
  });
}

export function doDelete(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_APPEAL_RECORD_DELETE,
    data,
  });
}

export function doUpdate(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_APPEAL_RECORD_UPDATE,
    data,
  });
}

export function doCreate(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_APPEAL_RECORD_CREATE,
    data,
  });
}

export function getList(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_APPEAL_RECORD_LIST,
    data,
  });
}
